home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / basic / msc.zip / TRYMSC.BAS < prev    next >
BASIC Source File  |  1992-04-23  |  5KB  |  88 lines

  1. '$INCLUDE: 'casekey.bi'
  2.  
  3.  
  4. '
  5. '          ========================================================
  6. '         |                MSC Interactive Program (c)            |
  7. '         |                                                       |
  8. '         |                                                       |
  9. '         |                                                       |
  10. '         |   Make sure MSC.QLB has been loaded before you run    |
  11. '         |   this program.                                       |
  12. '         |   Make sure all files are in the same directory and   |
  13. '         |   you are in that directory the files are in.         |
  14. '         |                                                       |
  15. '         |   To load MSC type at command prompt: QB /L MSC.QLB   |
  16. '         |                                                       |
  17. '         |   When you run this program it will make a backup,    |
  18. '         |   Save it incase you loose this one.                  |
  19. '         |                                                       |
  20. '         |   MSC is an aid to fast devlopment of Select case's   |
  21. '         |   for QuickBASIC, For other fast interactive Programs |
  22. '         |   Just Register and you'll recieve MIE which makes    |
  23. '         |   IF ELSEIF END IF's in a flash, also I'll send you   |
  24. '         |   a program that makes Complete Graphic screens and   |
  25. '         |   text just by working the keyboard, You can visualy  |
  26. '         |   see what your doing wile making it.                 |
  27. '         |                                                       |
  28. '         |   If you like MSC you'll like the complete package!   |
  29. '         |   This one is for traping Scan Codes from the inkey   |
  30. '         |   function, The registered version provides a lot     |
  31. '         |   different options like trappimg for CHR$(),         |
  32. '         |   Numeric and others.                                 |
  33. '         |                                                       |
  34. '         |   Make sure you have loaded MSC.QLB, you can load it  |
  35. '         |   by using this command line: QB /L MSC.QLB, if your  |
  36. '         |   working with the /cmd option, it must allways be    |
  37. '         |   the last option of the command line.                |
  38. '         |                                                       |
  39. '         |   Be sure to include the MSC.BI with the '$INCLUDE,   |
  40. '         |   and that all files are in the same directory.       |
  41. '         |                                                       |
  42. '         |   MSC use's the file called CASEKEY.DAT.              |
  43. '         |                                                       |
  44. '         |   To Use MSC just save your program in text, pass it  |
  45. '         |   the name of your program by calling it as shown in  |
  46. '         |   this TRYMSC.BAS example, you can pass your program  |
  47. '         |   Name in Quotes or by a STRING ($).                  |
  48. '         |                                                       |
  49. '         |   MSC will allways prompt you and ask if you want to  |
  50. '         |   Continue, MSC will allways make a backup of the     |
  51. '         |   program you pass to it just to be safe incase you   |
  52. '         |   have pressed 'Y' and allowed MSC to Insert.         |
  53. '         |                                                       |
  54. '         |   After you have pressed 'Y' then press a valid key   |
  55. '         |   or valid key combination ( see the File VALIDKEY )  |
  56. '         |   for the key strokes traped by the inkeys.           |
  57. '         |                                                       |
  58. '         |   For Example: while holding Ctrl key down press F1,  |
  59. '         |   this will tell MSC to insert Ctrl-F1 combination.   |
  60. '         |                                                       |
  61. '         |   MSC allways Inserts the scancode for Escape Key,    |
  62. '         |   and the Enter Key.                                  |
  63. '         |                                                       |
  64. '         |   You can use the Escape key to Cancel.               |
  65. '         |   When your done just press enter and MSC will do     |
  66. '         |   rest.                                               |
  67. '         |                                                       |
  68. '         |   MSC can insert as big of a select case you need, it |
  69. '         |   can lso make seperate case statements too, to do    |
  70. '         |   that just run MSC one at a time then when it says   |
  71. '         |   Done.. remove the top REM statements, save your     |
  72. '         |   program in text again and run the program again.    |
  73. '         |   MSC will insert another case statement under the    |
  74. '         |   one you just made.                                  |
  75. '         |                                                       |
  76. '         |   Please register!, and Happy Programming!            |
  77. '         |                                            Scott R.   |
  78. '         |                                                       |
  79. '          -------------------------------------------------------
  80.  
  81.  
  82.     'Call MSC and pass this programs name(the program your in), that all!
  83.  
  84.   CALL MSC("trymsc.bas")
  85.  
  86.   END
  87.  
  88.